package com.asset.mgt;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient // 声明为服务消费者
@EnableFeignClients // 声明启用feign客户端
@EnableHystrix
public class AssetApiMgtApplication {

    public static void main(String[] args) {
        SpringApplication.run(AssetApiMgtApplication.class, args);
    }

}
